<?xml
version="1.0" encoding="utf-8" ?>
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
<!-- See pam_mount.conf(5) for a description. -->
<pam_mount>
<!--
debug should come before everything else,
since this file is still processed in 
a single pass from top-to-bottom -->
<debug enable="1" />
<!--
Volume definitions -->
<logout wait="50000" hup="1" term="1" kill="1" />
<cifsmount>mount.cifs //%(SERVER)/%(VOLUME) %(MNTPT)
-o %(OPTIONS) </cifsmount>
<!--
pam_mount parameters: General tunables -->
<!-- Описание тома, который должен монтироваться -->
<volume fstype="cifs" server="supra.choktgvv.local" path="shara" mountpoint="/tmp/%(USER)/shara" options="user=%(USER),gid=%(USERGID),uid=%(USERUID),rw,sec=krb5i,setuids,perm,soft,cruid=%(USERUID),iocharset=utf8" />
<volume fstype="cifs" server="supra.choktgvv.local" path="doc" mountpoint="/tmp/%(USER)/doc" options="user=%(USER),gid=%(USERGID),uid=%(USERUID),rw,sec=krb5i,setuids,perm,soft,cruid=%(USERUID),iocharset=utf8" />
<volume fstype="cifs" server="supra.choktgvv.local" path="reglament" mountpoint="/tmp/%(USER)/reglament" options="user=%(USER),gid=%(USERGID),uid=%(USERUID),rw,sec=krb5i,setuids,perm,soft,cruid=%(USERUID),iocharset=utf8" />
<volume fstype="cifs" server="supra.choktgvv.local" path="reglament/Коронавирус/COVID-19" mountpoint="/tmp/%(USER)/covid-19" options="user=%(USER),gid=%(USERGID),uid=%(USERUID),rw,sec=krb5i,setuids,perm,soft,cruid=%(USERUID),iocharset=utf8" />
<volume fstype="cifs" server="supra.choktgvv.local" path="users/%(USER)" mountpoint="/tmp/%(USER)/my_docs" options="user=%(USER),gid=%(USERGID),uid=%(USERUID),rw,sec=krb5i,setuids,perm,soft,cruid=%(USERUID),iocharset=utf8" />
<!-- <luserconf name=".pam_mount.conf.xml" /> -->

<!-- Note that commenting out mntoptions will give you
the defaults.
You will need to explicitly
initialize it with the empty string
to reset the defaults to
nothing. -->

<mntoptions allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other" />

<!--

<mntoptions deny="suid,dev" />

<mntoptions allow="*" />

<mntoptions deny="*" />

-->

<mntoptions require="nosuid,nodev" />

<logout wait="0" hup="no" term="no" kill="no" />

<!-- pam_mount parameters: Volume-related -->

<mkmountpoint enable="1" remove="true" />

</pam_mount>
